<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 */

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view' );

/**
 * Materias View
 *
 */
class ReghsViewMaterias extends JView
{
	/**
	 *
	 **/
	function display($tpl = null)
	{
		JToolBarHelper::title(   JText::_( 'ABM de Materias' ), 'generic.png' );
		JToolBarHelper::deleteList();
		JToolBarHelper::editListX();
		JToolBarHelper::addNewX();
                JToolBarHelper::back(JText::_( 'Back' ),JRoute::_('index.php?option=com_reghs') );
		// Get data from the model
		$items		= & $this->get( 'Data');

		$this->assignRef('items',		$items);

		parent::display($tpl);
	}
}
?>
